import request from '@/utils/request'

export const getBannerApi = (params = {}) => {
  const { distributionSite = '1' } = params
  return request.get('/home/banner', {
    params: { distributionSite },
  })
}
export const findNewApi = () => {
  return request.get('/home/new')
}
export const getGoodsApi = () => {
  return request.get('/home/goods')
}
